<?php
declare (strict_types=1);

namespace app\common\model;

use think\Model;

//角色数据表
class AdminRoleModel extends Model
{
    protected $table = 'utf8mb4_admin_role';
    public $rule = [
        'name' => 'require|max:20',
        'introduce' => 'max:255',
    ];
    public $message = [
        'name.require' => '名称不能为空',
        'name.max' => '名称最长20个字符',
        'introduce.max' => '简介不能操作255个字符',
    ];
}